<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add_Book_Form</title>
</head>
<body>

<form:form commandName="bookName" action="saveBook" method="post">
<fieldset>
	<legend>添加新的书本信息</legend>
	<p>
		<label for="Name">书名简称</label>
		<form:input id="Name" path="Name"/>
	</p>
	<p>
		<label for="title">书名全称</label>
		<form:input id="title" path="title"/>
	</p>
	<p>
		<label for="author">作者</label>
		<form:input id="author" path="author"/>
	</p>
	<p>
		<label for="price">价格</label>
		<form:input id="price" path="price"/>
	</p>
	<p>
		<label for="type">类型</label>
		<form:input id="type" path="type"/>
	</p>
	<p>
		<label for="location">书架位置</label>
		<form:input id="location" path="location"/>
	</p>
	<p>
		<label for="num">数量</label>
		<form:input id="num" path="num"/>
	</p>
	<p>
		<label for="remark1">备注1</label>
		<form:input id="remark1" path="remark1"/>
	</p>
	<p>
		<label for="remark2">备注2</label>
		<form:input id="remark2" path="remark2"/>
	</p>
	<p id="buttons">
       <input id="reset" type="reset">
       <input id="submit" type="submit" value="添加书本信息">
   </p>
</fieldset>
</form:form>
</body>
</html>